﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Web.Admin.ashx
{
    /// <summary>
    /// channel 的摘要说明
    /// </summary>
    public class channel : Evan.Common.AjaxHelper
    {

        public override void ProcessRequest(HttpContext context)
        {
            string action = Evan.Common.CommFun.GetQueryString("action");
            string a = context.Request.QueryString["model"] as string;
            switch (action)
            {
                case "addChannel":
                    //Evan.Model.DynamicModel model = new Evan.Model.DynamicModel();
                    //Evan.Common.
                    dynamic model = Evan.Model.ConvertModel.ConvertToDynamic(a);
                    JsonResult(context, 1, model.Title);
                    
                    break;
                default:
                    break;
            }
        }

        

        
    }
}